package com.security.client;

import com.security.api.R;
import com.security.feign.TestOrderFeignClient;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Slf4j
public class TestClient implements TestOrderFeignClient {

    @Override
    @GetMapping("/test")
    public R testFeign() {
        log.info("===========");
        return R.data(true);
    }
}
